//
//  NSArray+utils.h
//  helper
//
//  Created by huangyi on 12-10-29.
//  Copyright (c) 2012年 huangyi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSArray (utils)

-(id)firstObject;
-(NSArray*)sortAscending;
-(NSArray*)reverseObjects;

-(NSData*)jsonData;
-(NSString*)jsonString;

-(BOOL)containsString:(NSString*)string;

+(NSArray*)getArgs:(id)arg,...NS_REQUIRES_NIL_TERMINATION;

@end
